Skip to content

Conversation

@Ayush1325
Copy link
Contributor

@Ayush1325 Ayush1325 commented Dec 31, 2025

@rustbot label +O-UEFI

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Dec 31, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 31, 2025

r? @jhpratt

rustbot has assigned @jhpratt.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@Ayush1325 Ayush1325 force-pushed the uefi-rename branch 2 times, most recently from 31fb12c to 37071bf Compare January 1, 2026 06:21
- Using the file_name field in `EFI_FILE_INFO` works for renaming, even
  when changing directories.
- Does not work for cross-device rename, but that is already expected
  behaviour according to the docs:

  "This will not work if the new name is on a different mount point."

- Also add some helper code for dealing with UefiBox<file::Info>.
- Tested using OVMF in qemu.

Signed-off-by: Ayush Singh <[email protected]>
@jhpratt
Copy link
Member

jhpratt commented Jan 4, 2026

cc @dvdhrm and @nicholasbishop as target maintainers

@jhpratt
Copy link
Member

jhpratt commented Jan 4, 2026

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 4, 2026

📌 Commit b725981 has been approved by jhpratt

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 4, 2026
bors added a commit that referenced this pull request Jan 5, 2026
Rollup of 3 pull requests

Successful merges:

 - #146863 (Update cell.rs, correct module level doc)
 - #150547 (std: sys: fs: uefi: Implement rename)
 - #150684 (Motor OS: fix compile error)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit a1221de into rust-lang:main Jan 5, 2026
11 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Jan 5, 2026
rust-timer added a commit that referenced this pull request Jan 5, 2026
Rollup merge of #150547 - Ayush1325:uefi-rename, r=jhpratt

std: sys: fs: uefi: Implement rename

- Using the file_name field in `EFI_FILE_INFO` works for renaming, even when changing directories.
- Does not work for cross-device rename, but that is already expected behaviour according to the docs:

  "This will not work if the new name is on a different mount point."

- Also add some helper code for dealing with UefiBox<file::Info>.
- Tested using OVMF in qemu.
- edk2 implementation of the same: https://github.com/tianocore/edk2/blob/66346d5edeac2a00d3cf2f2f3b5f66d423c07b3e/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c#L455

``@rustbot`` label +O-UEFI
@Ayush1325 Ayush1325 deleted the uefi-rename branch January 5, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-UEFI UEFI S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants